<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>用户登录</title>

</head>

<body>


<%
	String State=request.getParameter("state");
	if(State!=null){
		if(State.equals(0)){
			out.println("<script>confirm('信息填写错误，请重新填写！')</script>"); 
		}
		if(State.equals(1)){
			out.println("<script>confirm('信息填写正确，欢迎进入')</script>");
		}
		out.println("<script>confirm('信息填写错误，请重新填写！')</script>"); 
	}

%>

<form action="Do.jsp" type="post">
<div class="content" style="width: 100%;" align="center">
	<div class="UserName" style="margin-top: 50px">
		登录账号&nbsp;&nbsp;<input type="text" name="username" id="username"/>
	</div>

	<div class="Password" style="margin: 30px">
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;密码&nbsp;&nbsp;
		<input type="text" name="password" id="password"/>
	</div>
	
	<div class="Validate">
		&nbsp;&nbsp;&nbsp;&nbsp;验证码&nbsp;&nbsp;
		<img src="ValidateImg.jsp">
		<input type="text" name="Validate" id="Validate"/>
		</div>
		
	<div class="btn">
		<p><input type="submit" value="登录"/></p>
	</div>
</div>
</form>


</body>
</html>